Was: Is rest_auth broken in Rails 2.2?
-
bill
- Assigned user cleared.
-
Daniel Choi
I encountered this problem today and it's caused by the activation_code being created twice when a user is created.
A simple fix is to add this line to the generated code in user.rb
def make_activation_code return if activation_code <--- added self.activation_code = Digest::SHA1.hexdigest( Time.now.to_s.split(//).sort_by {rand}.join ) end
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.